package com.micro.modual.entity;

import javax.persistence.Id;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * <h1>热搜记录表(选用)表 micro_hot_search</h1>
 *
 * @author levelcoder
 * @date 2020-08-04 00:11:10
 */
@ApiModel(description = "热搜记录表(选用)")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "micro_hot_search")
public class HotSearch implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @ApiModelProperty(value = "主键编号")
    private Long id;


    /**
     * 搜索关键词
     */
    @ApiModelProperty(value = "搜索关键词")
    private String searchKey;


    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;


    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;


    /**
     * 搜索次数
     */
    @ApiModelProperty(value = "搜索次数")
    private Integer searchCount;

}
